<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" href="../style/ucs.css">
	<link rel="stylesheet" href="../content/font/iconfont.css">
	<link rel="stylesheet" href="../style/theme.css">
</head>
<body>
<div id="giraffe"></div>
<script type="text/javascript" src="../../dist/libs/u-eventhub.js"></script>
<script type="text/javascript" src="../../dist/libs/engine.js"></script>
<script type="text/javascript" src="../../dist/ucsmy-ui.js"></script>
<script>
	//侧边栏
	var sideBarDM = new UDM({
		value:{
			defaultKey: 0,
			sideBarList: [
				{
					itemName: "关于我们",
					itemChildList: [
						{
							childName: "平台介绍",
							childUrl: "../PlatformIntro/index.html",
							current: false
						},
						{
							childName: "安全保障",
							childUrl: "../Insurance/index.html",
							current: false
						},
						{
							childName: "平台公告",
							childUrl: "../PlatformNotice/index.html",
							current: false
						},
						{
							childName: "名词解释",
							childUrl: "../NounExplain/index.html",
							current: false
						},
						{
							childName: "服务协议",
							childUrl: "../ServiceProtocol/index.html",
							current: true
						},
						{
							childName: "免责声明",
							childUrl: "../DisclaimerStat/index.html",
							current: false
						},
						{
							childName: "联系我们",
							childUrl: "../LinkUs/index.html",
							current: false
						}
					]
				},
				{
					itemName: "关于投资",
					itemChildList: [
						{
							childName: "投资操作指引",
							childUrl: "../InvestOperaGuide/index.html",
							current: false
						}
					]
				},
				{
					itemName: "关于融资",
					itemChildList: [
						{
							childName: "融资操作指引",
							childUrl: "../FinanceOperaGuide/index.html",
							current: false
						}
					]
				},
				{
					itemName: "账户管理",
					itemChildList: [
						{
							childName: "注册操作指引",
							childUrl: "../RegOperaGuide/index.html",
							current: false
						},
						{
							childName: "添加银行卡操作指引",
							childUrl: "../AddCardOperaGuide/index.html",
							current: false
						},
						{
							childName: "找回密码操作指引",
							childUrl: "../FindPwdOperaGuide/index.html",
							current: false
						},
						{
							childName: "实名认证指引",
							childUrl: "../RealNameAuthenGuide/index.html",
							current: false
						}
					]
				},
				{
					itemName: "常见问题",
					itemChildList: [
						{
							childName: "常见问题",
							childUrl: "../Faq/index.html",
							current: false
						}
					]
				}
			]
		}
	});
	var protocolDM = new UDM({
		value: {
			"AgreementNo": "PRJ201608110519506026",
			"PlatformName": "新银e融",
			"PlatformUrl": "http://txc.ucsmy.com",
			"SignDateTime": "2017年06月05日",
			"UserAgreeInfo": {
				"UserName": "萧**",
				"Mobile": "136****0001",
				"IDcard": "610********16",
				"InvestAmount": "1000"
			},
			"FinancierInfo": {
				"AssetsType": "1",
				"CompanyName": "中***",
				"ContactName": "",
				"ContactMobile": "",
				"BankName": "",
				"BankCode": "",
				"AccountNo": "",
				"OrganizationCode": "S88*****_8"
			},
			"ProjectInfo": {
				"ProjectCode": "PRJ201608291247544006",
				"Amount": "",
				"Duration": "",
				"ValueBegin": "2017年05月01",
				"RepayBegin": "2017年05月25日",
				"Interest": "",
				"FRemark": "",
				"FinancingId": ""
			}
		}
	});
	var InvestmentRecordDM = new UDM({
		value : [
			{
				"PayUserName": "肉**",
				"PayTime": "2017-05-25 11:44:11",
				"PayAmount": 2000,
				"IDcard": "412********0X",
				"Mobile": "182****0000"

			},
			{
				"PayUserName": "肉**",
				"PayTime": "2017-05-25 11:44:11",
				"PayAmount": 2000,
				"IDcard": "412********0X",
				"Mobile": "182****0000"

			}
		]
	});
	var ajaxFn = function(){
		protocolDM.setValue({
			"AgreementNo": "PRJ201608110519506026",
			"PlatformName": "新银e融",
			"PlatformUrl": "http://txc.ucsmy.com",
			"SignDateTime": "2017年06月05日",
			"UserAgreeInfo": {
				"UserName": "萧**",
				"Mobile": "136****0001",
				"IDcard": "610********16",
				"InvestAmount": "1000"
			},
			"FinancierInfo": {
				"AssetsType": "1",
				"CompanyName": "中***",
				"ContactName": "",
				"ContactMobile": "",
				"BankName": "",
				"BankCode": "",
				"AccountNo": "",
				"OrganizationCode": "S88*****_8"
			},
			"ProjectInfo": {
				"ProjectCode": "PRJ201608291247544006",
				"Amount": "",
				"Duration": "",
				"ValueBegin": "2017年05月01",
				"RepayBegin": "2017年05月25日",
				"Interest": "0.68",
				"FRemark": "***",
				"FinancingId": ""
			}
		});
		InvestmentRecordDM.setValue(
			[
				{
					"PayUserName": "肉**",
					"PayTime": "2017-05-25 11:44:11",
					"PayAmount": 2000,
					"IDcard": "412********0X",
					"Mobile": "182****0000"

				},
				{
					"PayUserName": "嘟**",
					"PayTime": "2017-05-25 11:44:11",
					"PayAmount": 1000,
					"IDcard": "412********0X",
					"Mobile": "182****0000"

				}
			]
		);
	}
	var PageDM = {
		sideBar: sideBarDM,
		protocol: protocolDM,
		InvestmentRecord: InvestmentRecordDM
	}
	UEventHub.on("pageLoad",function(){
		ajaxFn();
	});
</script>
<script type="text/javascript" src="../LoanProtocol\index.js"></script></body>
</html>
